<template>
  <div>
    <div>
      <h4>移动能力评定</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="5">
            <span>床上翻身 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_csfs">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>站立维持 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_zlwc">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>从坐到卧 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_czdw">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>床椅转移 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_cyzy">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>坐位维持 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_zwwc">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>室内步行 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_snbx">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>从坐到站 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_czdz">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
            <span>上下楼梯 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_sxlt" >
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "move",
  title: "移动能力评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      options: [{
        value: '请选择',
        label: '请选择'
      }, {
        value: '1',
        label: '1'
      }, {
        value: '2',
        label: '2'
      }, {
        value: '3',
        label: '3'
      }, {
        value: '4',
        label: '4'
      }, {
        value: '5',
        label: '5'
      }],
      pgForm: {
        nzzptpdb_pt_csfs: '',
        nzzptpdb_pt_zlwc: '',
        nzzptpdb_pt_czdw: '',
        nzzptpdb_pt_cyzy: '',
        nzzptpdb_pt_zwwc: '',
        nzzptpdb_pt_snbx: '',
        nzzptpdb_pt_czdz: '',
        nzzptpdb_pt_sxlt: '',
      }
    }
  }
}
</script>

<style scoped>

.el-select{
  width: 50%;
}
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
